<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ducter小站</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<%String host = request.getRemoteHost();%>
<%String ip = request.getRemoteAddr();%>
<%
Enumeration<String> emnu = request.getHeaderNames();
while(emnu.hasMoreElements()){
	String key = emnu.nextElement();
	System.out.println(key+":"+request.getHeader(key));
	//System.out.println();
}
%>
<%=host%>
<%=ip%>
<h2>Hello World!</h2>
</body>
</html>